<template>
  <div class="box">
    <div class="container">
      <div class="container_top">
        <div class="top_body_us">
          <p v-for="(item, index) in dataArr" :key="index">{{ item.name }}</p>
        </div>
        <div class="top_body_us">
          <p v-for="(item, index) in dataArr1" :key="index">{{ item.name }}</p>
        </div>
        <div class="top_body_problem"></div>
        <div class="top_body_problem">
          <div class="left_slogan">安全可靠 值得信赖</div>
          <div class="left_code">
            <div class="code_img" v-for="(item, index) in codeArr" :key="index">
              <img :src="item.image" alt="" />
              <div class="code_img_btm">{{ item.name }}</div>
            </div>
          </div>
        </div>
      </div>
      <div class="container_btm">
        <p v-for="(item, index) in statementArr" :key="index">{{ item.data }}</p>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  // 组件名称
  name: "Login",
  // 组件参数 接收来自父组件的数据
  props: {},
  // 局部注册的组件
  components: {},
  // 组件状态值
  data() {
    return {
      dataArr: [
        { name: "关于我们", val: "1" },
        { name: "公司介绍", val: "2" },
        { name: "联系我们", val: "3" },
      ],
      dataArr1: [
        { name: "常见问题", val: "1" },
        { name: "账号注销", val: "2" },
        { name: "意见反馈", val: "3" },
        { name: "防骗指南", val: "4" },
        { name: "协议明示", val: "5" },
        { name: "资质公示", val: "6" },
      ],
      codeArr: [
        { id: "1", image: require("@/assets/imgs/codeimg.png"), name: "APP" },
        {
          id: "2",
          image: require("@/assets/imgs/codeimg.png"),
          name: "小程序",
        },
        {
          id: "3",
          image: require("@/assets/imgs/codeimg.png"),
          name: "官方微信",
        },
      ],
      statementArr: [
        {
          data: "未经XXXXXX.com同意，不得转载本网站之所有招聘信息及作品 XXXXXX版权所有",
        },
        { data: "京ICP备XXXXXXX号 合字 XX-XXXXXX" },
        { data: "京公网备案 XXXXXXXXXXXXX号 人力资源许可证:XXXXXXXXXXXX号" },
        {
          data: "网上有害信息举报专区 违法不良信息举报电话:400-885-9898 关爱未成年举报热线:400-885-9898-7",
        },
        { data: "XX区人力资源与社会保障局监督电话" },
      ],
    };
  },
  // 组件初始化
  created() {},
  // 组件实例挂载完毕
  mounted() {},
  //销毁事件
  destroyed() {},
  // 组件方法
  methods: {},
};
</script>

<style scoped lang="less">
.box {
  width: 100%;
  min-height: 420px;
  background-color: #000000;
  display: flex;
  .container {
    min-width: 1230px;
    height: 82%;
    margin: auto;
    // top内容
    .container_top {
      width: 100%;
      height: 65%;
      border-bottom: 2px solid gray;
      display: flex;
      .top_body_us {
        width: 15%;
        height: 100%;
        p {
          width: 100%;
          height: 25px;
          line-height: 25px;
          font-size: 15px;
          font-weight: 500;
          text-align: center;
          margin-top: 10px;
          color: #ffffff;
        }
      }
      .top_body_problem {
        width: 35%;
        height: 100%;
        .left_slogan {
          color: #ffffff;
          font-size: 17px;
          font-weight: 600;
          text-align: right;
        }
        .left_code {
          width: 100%;
          margin-top: 30px;
          display: flex;
          .code_img {
            width: 100px;
            height: 130px;
            margin: auto;
            img {
              width: 100%;
              height: 100px;
            }
            .code_img_btm {
              width: 100%;
              height: 30px;
              font-size: 15px;
              font-weight: 600;
              color: #ffffff;
              text-align: center;
            }
          }
        }
      }
    }
    .container_btm {
      width: 100%;
      height: 37%;
      color: #ffffff;
      font-size: 14px;
      font-weight: 500;
      padding-top: 1%;
      p {
        width: 100%;
        height: 20px;
        margin-top: 5px;
      }
    }
  }
}
</style>
